package mammuthus.slave

import net.csdn.ServiceFramwork
import net.csdn.bootstrap.Application
import mammuthus.proxy.MammuthusConfControl

/**
 * 2/2/15 WilliamZhu(allwefantasy@gmail.com)
 */
object ConfSlave {
  def main(args: Array[String]) {
    ServiceFramwork.scanService.setLoader(classOf[ConfSlave])
    ServiceFramwork.registerStartWithSystemServices(classOf[Slave])
    ServiceFramwork.disableHTTP()
    Application.main(args)
    ServiceFramwork.injector.getInstance(classOf[Slave]).system.awaitTermination()
  }
}

class ConfSlave {}
